Installation
Follow the steps below to get started with your Site Template:
- Unzip the downloaded zip file
themeforest-xxxxx.zipfolder - Open folder named
main-file - Here you will find
assetsfolders of all files - You will need to Upload these files to your Web Server using FTP in order to use it on your Website.
- Make sure you upload the required files/folders listed below:
-
- Followings are files and sub-folders saved in this folder
css- Extra Stylesheets Folder plus Main Stylesheet Fileimages- Images Folderjquery- Javacripts Folder.htmlextension files - main page template File
- You will need to Upload these files to your Web Server using FTP in order to use it on your Website and give the paths of files in
.htmlextension files. - You're now good to go..! Start adding your Content and show off your Brand New Beautiful Website in style.
HTML Structure
Realock follows a simple coding structure. here is the sample:
<!DOCTYPE html> <html lang="zxx" dir="ltr"> <!-- All your metas will be here --> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <head> <!-- Your Stylesheets, Title --> ... </head> <body data-spy="scroll" data-target="#myHeader"> <!-- Homepage 1 --> <!-- Realock Slider --> <section> <div class="container"> ... </div> </section> <!-- The Header --> <header> ... </header> <!-- Homepage 2 --> <!-- The Header --> <header> ... </header> <!-- Image Gallery --> <section> <div class="container"> ... </div> </section> <!-- All Content sections --> <section> <div class="container"> ... </div> </section> <!-- Footer --> <footer> <div class="container"> ... <!-- Copyrights --> </div> </footer> <!-- source javascript -> ... </body> </html>
Favicons
You can add a Favicon to your Website using the following code just bottom to the Stylesheet files links:
<link href="assets/images/logo/fevicon-img.png" rel="icon">
Logo Settings
The Logo Container can be found in the Header Container - header tag
<div class="logo"><a href="#realock_slider_section"><img src="assets/images/logo/realock-logo.png" alt="realock-logo"></a></div>
Changing Fonts
Change your Fonts from Google Fonts Library directly if you plan to use a Google Font. You can find the Linking to the Font
Files in the head tag
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap" rel="stylesheet">
In order to change the Fonts, you will need to Edit the Above Links with your Custom Font.
if you plan to use a Self Hosted font. Here is an Example for using Self Hosted Fonts.
@font-face {
font-family: proxima-nova-bold;
src: url(../fonts/Proxima-Nova-Bold.otf);
}
Website Optimization Tips
A Fast & Optimized Website has several factors which needs to be implemented in order to achieve the desired results. There are several Optimization Techniques available which will definitely affect your Website's Performance in a Positive Way & we want to share a few of them with you:
-
Image Compression & Optimization
We tend to use Lots of Images on our Websites but we often do not make efforts to Compress & Optimize them. Remember, the Larger the Image, the more time it takes to download and therefore this slows your website loading times affecting User Experience. Your customer will leave your website if it does not load within 3-5 Seconds which adversely affects your Sales. Therefore, it is important to Resize, Optimize & Compress your Images before using it on your Website. Here are some Tips which might come handy in optimizing images:
- Resize your Images: Resize your Images before using it on your Website. Do not just Download an Image & place it as it is in your Website's
<img>Tag without resizing it. The size/resolution of the Image matters since it is not recommended to use an Image size of1200pxx800pxin a Content Size of300pxx200pxas this is unnecessary. Resize it to300pxx200px - Image Formats: There are three common file types that are used for web images which are JPEG, GIF, & PNG. For images with a Flat Background use JPEG images, for images with a Transparent background use PNG images and for images with Animations use GIF images.
- Compressing Images: Images Compression is important as it considerably reduces the size without losing the quality. There are several FREE Image Optimization Tools available to Download.
For MAC use ImageOptim
For Windows use Riot for compressing JPEG Images & PNG Gauntlet for PNG Images.
- Resize your Images: Resize your Images before using it on your Website. Do not just Download an Image & place it as it is in your Website's
-
CSS & jQuery Minifications
It is also recommended that you Combine & Minify all your CSS Files to a single CSS File & all Javascript Files to a single JS File since Minification reduces the size of the File and Combining the files helps in reducing the number of HTTP requests made to the server. This is also an Important Factor in increasing the speed of your website. There are several tools available online to Minify your CSS & JS Files. Our recommendations are:
For CSS use CSS Minifier and For Javascript use Javascript Minifier. -
Fast Web Hosting Servers
A lot depends on your Web Hosting Servers, so it is recommended that you choose a Hosting Company/Server that provides a Reliable & a Fast Hosting Service. You can check out some recommended Hosting Services here: http://themeforest.net/get_hosting.
Header
You can choose the headers while creating your Pages. Default Header with a Transparent Background while turns Stickey after a little scrolling &,you can make header without stickey effect for this just remove the .fixed-header from the header tag.
Simply follow the structure below to create the header:
<!-- Start Header -->
<header class="site_header fixed-header">
...
</header>
<!-- End Header -->
Columns & Grid
Bootstrap Grid
Helper Classes
We have created some really useful helper classes for you. Here are a few of them:
.mt-100- margin of 100px on the top of elements..mt-15- margin of 15px on the top of elements..pt-80- padding of 80px on the top of elements..theme_heading- make the headings design use of theme_heading class..theme_description- make the paragraphs design use of theme_description class..btn & .theme_button- make the buttons design use of .btn & theme_button class..icon- make the icons design use of icon class..nav-link- make the menu links design use of .nav-link class.
Slider Types & their Options
Realock includes Sliders are mentioned as follows:
- Slick Carousel
You can find the Slick carousel slider related Documentation here.
Read Slick Sliders Docs
Introduction
Realock boasts of a many handy features which are quite powerful, flexible, functional & easy to use. you can do changes in features very easily. Here is the List of features that uses in this website:
SectionsContainerColumnsScrollingAnimationsSlick CarouselsFont Awesome 6 IconsMedia EmbedsButtonsHeading and Title stylesSearch formHeaderDesktop SidebarProperty ListingsCategoriesTestimonialsAgentsEstimatesBackground ShapesHover EffectsResponsive
Each of the above mentioned features are easily extendable, flexible & easy to use. You can find the sample codes from stylesheet. We are explaining a few of them for your Reference.
Animations
Scroll to reveal Animations are latest in the Trends. You can use animations on any element you want. Here is the Sample Code:
.fixed-header {
animation: slide-down 0.7s;
}
@keyframes slide-down {
0% {
opacity: 0;
transform: translateY(-100%);
}
100% {
opacity: 0.9;
transform: translateY(0);
}
}
Here is the list of the Animation Types you can use:
bounceflashpulserubberBandshakeswingtadawobblebounceInbounceInDownbounceInLeftbounceInRightbounceInUpbounceOutbounceOutDownbounceOutLeftbounceOutRightbounceOutUpfadeInfadeInDownfadeInDownBigfadeInLeftfadeInLeftBigfadeInRightfadeInRightBigfadeInUpfadeInUpBigfadeOutfadeOutDownfadeOutDownBigfadeOutLeftfadeOutLeftBigfadeOutRightfadeOutRightBigfadeOutUpfadeOutUpBigflipflipInXflipInYflipOutXflipOutYlightSpeedInlightSpeedOutrotateInrotateInDownLeftrotateInDownRightrotateInUpLeftrotateInUpRightrotateOutrotateOutDownLeftrotateOutDownRightrotateOutUpLeftrotateOutUpRighthingerollInrollOutzoomInzoomInDownzoomInLeftzoomInRightzoomInUpzoomOutzoomOutDownzoomOutLeftzoomOutRightzoomOutUp
Icons
Font Awesome 6Images
- The Stocks
- Unsplash
- Pixels
- Freepik
- RaumRot
- Picjumbo
- Stockphotos.io
- Imcreator FREE
- Flickr CC-Search
- Mazwai (Stock Footage)
CSS & Fonts
style.css- use style cssmedia-query.css- responsive media query css- Bootstrap 5.1.3
- Animation
- Font awesome 6 Icons
- Slick Carousel
- Google Fonts
